dom.setLinkHref()

Availability 3.0
Description Makes the selection a hyperlink, or changes the value of the link that surrounds the current selection.
Arguments linkHREF
The argument is the URL (document-relative path, root-relative path, or absolute URL) to link to. If the argument is omitted, the Select HTML File dialog box appears.
Returns Nothing.
Enabler dom.canSetLinkHref()